# /usr/bin/python3
# -*- coding: utf-8 -*-
# @Time    : 2022/1/11 9:22
# @Author  : lt
# @Email   : lt@163.com
# @File    : driver.py
# @Software: PyCharm
from selenium import webdriver
def chrome():
    '''创建谷歌浏览器并配置后返回'''
    driver = webdriver.Chrome()
    driver.maximize_window()
    driver.implicitly_wait(30)
    return driver